package cn.xsly.ymcc.vo;

import cn.xsly.ymcc.domain.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

//存放课程明细数据
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDetailVo {
    private Course course;
    private CourseMarket courseMarket;
    private CourseDetail courseDetail;
    /*
    一个课程对应多个讲师
    * */
    private List<Teacher> teachers =new ArrayList<>();
    /* 一个课程对应多个章节，一个章节对应多个媒体数据*/
    private List<CourseChapter> courseChapters = new ArrayList<>();
}
